 <?php
  use yii\helpers\Html;
  use yii\helpers\Url;
  use yii\bootstrap\ActiveForm;
  use yii\widgets\LinkPager;

  $this->title = 'viewtask';
 ?>
 <section class="content">
  <div class="row">
  	<div class="col-md-12">
      <div class="box box-danger">
        <div class="box-header with-border">
          <h3 class="box-title">任务详情</h3>
        </div>
        <div class="box-body">
			<div class="form-group">
	          <div class="row">
	            <div class="col-xs-3">
	              <label>转接人</label>
				  <input type="text" value="<?= $model->transfer?>" class="form-control" readonly />
	            </div>
	            <div class="col-xs-3">
	              <label>承接人</label>
				  <input type="text" value="<?= $model->undertake?>" class="form-control" readonly />
	            </div>
	          </div>
	        </div>
			<div class="form-group">
	          <div class="row">
	                <div class="col-xs-3">
	              <label>检测客户</label>
	              <input type="text" readonly class="form-control" value="<?= $model->customer?>" />
	            </div>
	            <div class="col-xs-3">
	              <label>检测项目</label>
	              <input type="text" readonly class="form-control" value="<?= $model->product?>" />
	            </div>
	            <div class="col-xs-3">
	              <label>检测时间</label>
	              <input type="text" class="form-control" readonly value="<?= $model->check_time?>" />
	            </div>
	            <div class="col-xs-3">
	              <label>出库时间</label>
	              	<div class="out_storage_time">
	              		<input type="text" class="form-control" value="<?= $model->out_storage_time?>" readonly />
	           		</div>
	            </div>
	          </div>
	        </div>
			<div class="form-group">
	          <div class="row">
	                <div class="col-xs-3">
	              <label>样本寄出单号</label>
	              <div class="send_code">
	              	<input type="text" class="form-control" readonly  value="<?= $model->send_code?>" />
	              </div>
	            </div>
	            <div class="col-xs-3">
	              <label>样本寄出时间</label>
				  <div class="send_time">	
	              	<input type="text" readonly class="form-control" value="<?= $model->send_time?>" />
	              </div>
	            </div>
	                <div class="col-xs-3">
	              <label>快递单号</label>
	              <div class="delivery_code">
	              	<input type="text" class="form-control" readonly value="<?= $model->delivery_code?>" />
	              </div>
	            </div>
	            <div class="col-xs-3">
	              <label>客户签收时间</label>
	              <div class="sign_time">
	              	<input type="text" readonly class="form-control" value="<?= $model->sign_time?>" />
	              </div>
	            </div>
	        </div>
        	<div class="box-footer">
			  <button class="btn btn-warning btn-back">返回</button>
			</div>
        </div>
       </div>
    </div>
  </div>
 </section>

 <script type="text/javascript" src="js/jquery.js"></script>
 <script>
 $(".btn-back").click(function(){
 	location.href = history.go(-1);
 });
 </script>